package com.xqls.biz;

import java.util.List;

import com.xqls.bean.UserBean;
import com.xqls.dal.model.User;
import com.xqls.util.CommonResult;

public interface UserBiz {
    CommonResult insertUser(UserBean userBean);
    
    CommonResult updateUser(UserBean userBean);
    
    CommonResult updateUserSelective(UserBean userBean);
    
    CommonResult deleteUser(String userId);
    
    CommonResult getUserByKey(String userId);
    
    CommonResult getUserByUserName(String userName);

    CommonResult checkUser(String userName, String password);
    
    UserBean getUserByName(String userName);
    
    User checkUserForLogin(String userName, String password);
    
    List<User> getList();
}
